package com.ilearn.strategy.payport.payment;

import com.ilearn.strategy.payport.PayMent;
import com.ilearn.strategy.payport.PayState;

public class TenPay implements PayMent {
    @Override
    public PayState pay(String uid, double amount) {
        System.out.println("欢迎使用财务通");
        System.out.println("财付通余额查询，开始扣款");
        return new PayState(200,"支付成功", amount);
    }
}
